import java.util.Scanner;

public class test {
    public static void main(String[] args) {
        System.out.println("请输入你的年龄");
        Scanner scanner=new Scanner(System.in);
        int age = scanner.nextInt();
        System.out.println("你的年龄是"+age);
    }
    public static void main2(String[] args) {
        int i = 1;
        while(i<=100){
            if(i%3!=0 || i%5!=0){
                ++i;
                continue;
            }
            else{
                System.out.println(i);
                ++i;
            }
        }
    }
    public static void main1(String[] args) {
        int num1 = 0;//总和
        int num2 = 0;//奇数
        int num3 = 0;//偶数
        int i = 0;
        while(i<=100){
            num1 += i;
            ++i;
        }
        i = 0;
        while(i<=100){
            if(i%2==1){
                num2 += i;
            }
            ++i;
        }
        i = 0;
        while(i<=100){
            if(i%2==0) {
                num3 += i;
            }
            ++i;
            //i+=2;//也行
        }
        System.out.println(num1);
        System.out.println(num2);
        System.out.println(num3);
    }
}